<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>WebLoginPE: Documentation</title>
	<script type="text/javascript" src="../js/jquery-1.1.3.1.js"></script>
	<script type="text/javascript" src="../js/jquery.corner2.js"></script>
	<script type="text/javascript" src="style/webloginpe.js"></script>
	<link rel="stylesheet" href="style/webloginpe.css" type="text/css" media="screen" title="WebLoginPE [Screen]" charset="utf-8">
	<link rel="alternate stylesheet" href="style/webloginpe.print.css" type="text/css" media="print,all" title="WebLoginPE [Print]" charset="utf-8">
	
</head>

<body>
	<div id="wrapper">
		<div id="head">
			<h1>WebLoginPE: Advanced User Management.</h1>
			<h2>Version 1.3.0</h2>
			<h3>By Dr. Scotty Delicious, Scientist DFPA.</h3>
		</div>
		<div id="select">
			<ul id="menu">
				<li><a href="index.html"><span>Home</span>:</a></li>
				<li><a href="parameters.html"><span>Parameters</span></a></li>
				<li><a href="views.html"><span>Views (Templates)</span></a></li>
				<li><a href="forms.html"><span>Working with Forms</span></a></li>
				<li><a class="here" href="placeholders.html"><span>Placeholders</span></a></li>
				<li><a href="api.html"><span>API</span></a></li>
			</ul>
		</div>
		<div id="content">
			<h4>Placeholders</h4>
			<p>
				One of the things that makes WebLoginPE so easy to customize is the comprehensive set of placeholders that it provides for use in your custom views and templates.
			</p>
			
			<div class="paramList">
				<div class="parameter">
					<h5>General Purpose Placeholders</h5>
					<p>
						For areas such as login and profile editing where you would want to display information about the currently logged in user, there are placeholders set for each of the attributes stored in the database with their <strong>internalKey</strong>. These placeholders start with "<strong>user</strong>" and then the name of the database column.
					</p>
					<div class="example">
						<h6>Examples</h6>
						[+user.username+], [+user.fullname+], [+user.email+], [+user.aim+], [+user.website+], etc...
					</div>
				</div>
			</div>
			
			<div class="paramList">
				<div class="parameter">
					<h5>View User Placeholders</h5>
					<p>
						For areas such as the users page and view profile where you would want to display information about other web users, there are placeholders set for each of the attributes stored in the database with that user's <strong>internalKey</strong>. These placeholders start with "<strong>view</strong>" and then the name of the database column.
					</p>
					<div class="example">
						<h6>Examples</h6>
						[+view.username+], [+view.age+], [+view.country+], [+view.gender+], [+view.website+], etc...
					</div>
				</div>
			</div>
			
			<div class="paramList">
				<div class="parameter">
					<h5>Form Placeholders</h5>
					<p>
						When using the <strong>&amp;inputHandler</strong> parameter, entire sections of a form are generated and put into placeholders that start with "<strong>form</strong>" and then the input's name attribute. These placeholders contain the label, select, options, radios, checkboxes, et al, so all you have to do is put the placeholder in the form where you would want the element to appear. There are two form placeholders that are generated by default
					</p>
					<div class="example">
						<h6>Examples</h6>
						[+form.country+] and [+form.gender+]
					</div>
				</div>
			</div>
			
			<div class="paramList">
				<div class="parameter">
					<h5>Other Useful Placeholders</h5>
					<p>
						WebLoginPE also generates a few other helpful placeholders that you can use in your forms and templates.
					</p>
					<div class="example">
						<h6>Examples</h6>
						[+tos+] <span class="sidenote">The Terms of Service chunk.</span><br/>
						[+user.defaultphoto+] <span class="sidenote">A pointer to the default user photo.</span><br/>
						[+request.userid+] <span class="sidenote">The user ID for the Activation form.</span><br/>
						[+request.activationkey+] <span class="sidenote">The activation key for the Activation form.</span><br/>
						[+form.captcha+] <span class="sidenote">The captcha image for use with your registration form.</span>
					</div>
				</div>
			</div>
			
		</div>
		
		
		<div id="foot">
			<p id="footmenu">
				<a href="index.html">Home</a>
				<a href="parameters.html">Parameters</a>
				<a href="views.html">Views (Templates)</a>
				<a href="forms.html">Working with Forms</a>
				<a href="placeholders.html">Placeholders</a>
				<a href="api.html">API</a>
			</p>
			<p id="credits">&copy; 2007 Scotty Delicious.</p>
		</div>
	</div>
</body>
</html>
